package com.cl.master.service.impl;

import com.cl.master.domain.User;
import com.cl.master.mapper.NoteMapper;
import com.cl.master.mapper.UserMapper;
import com.cl.master.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @Author xc
 * @Date 2023/5/18 17:55
 * @Version 1.0
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;
    @Override
    public void saveUser(User user) {
        userMapper.saveUser(user);

    }

    @Override
    public Map<String, Object> getForm(String loginAdmin) {
        Map<String,Object> data = userMapper.getForm(loginAdmin);
        return data;
    }
}
